package com.web.base.user.message;

import com.blue.core.dict.Auth;
import com.web.core.dict.UserRole;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户响应内容
 * 
 * @author 代码由 blue-code 框架生成
 * @since 1.0 2017年04月16日
 */
public class UserResponse implements Serializable
{
	private static final long serialVersionUID = 1L;

	private Integer id; // 编号
	private String name; // 用户名
	private String password; // 密码
	private String mobile; // 手机
	private String wxUnionId; // 微信UnionId
	private String nickname; // 用户昵称
	private String pic; // 用户头像
	private String email; // 邮箱
	private Date createTime; // 创建时间
	private Date loginTime; // 登录时间
	private UserRole role; // 用户角色
	private Auth auth; // 审核状态

	private String picUrl; // 用户头像显示完整路径
	private String roleNames; // 角色名称，用逗号隔开

	public UserResponse()
	{
	}

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getPassword()
	{
		return this.password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getMobile()
	{
		return this.mobile;
	}

	public void setMobile(String mobile)
	{
		this.mobile = mobile;
	}

	public String getWxUnionId()
	{
		return this.wxUnionId;
	}

	public void setWxUnionId(String wxUnionId)
	{
		this.wxUnionId = wxUnionId;
	}

	public String getNickname()
	{
		return this.nickname;
	}

	public void setNickname(String nickname)
	{
		this.nickname = nickname;
	}

	public String getPic()
	{
		return this.pic;
	}

	public void setPic(String pic)
	{
		this.pic = pic;
	}

	public String getEmail()
	{
		return this.email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public Date getCreateTime()
	{
		return this.createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getLoginTime()
	{
		return this.loginTime;
	}

	public void setLoginTime(Date loginTime)
	{
		this.loginTime = loginTime;
	}

	public UserRole getRole()
	{
		return role;
	}

	public void setRole(UserRole role)
	{
		this.role = role;
	}

	public Auth getAuth()
	{
		return auth;
	}

	public void setAuth(Auth auth)
	{
		this.auth = auth;
	}

	public String getPicUrl()
	{
		return picUrl;
	}

	public void setPicUrl(String picUrl)
	{
		this.picUrl = picUrl;
	}

	public String getRoleNames()
	{
		return roleNames;
	}

	public void setRoleNames(String roleNames)
	{
		this.roleNames = roleNames;
	}
}
